package dao.common;

import models.shop.Image;

import java.util.List;

public interface ImageManager {
    void save(Image image);

    Image create(String path, String md5);

    List<Image> listByProductId(int productId);

    Image getById(int imageId);
}
